package com.ruoyi.zhmk.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆下发对象 zhmk_carsend
 * 
 * @author sxl
 * @date 2021-06-10
 */
public class ZhmkCarsend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆下发ID */
    private Long carsendId;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String carName;

    /** 车辆类型（00常驻人员 01临时人员） */
    @Excel(name = "车辆类型", readConverterExp = "0=0常驻人员,0=1临时人员")
    private String carType;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phonenumber;

    /** 车辆照片 */
    @Excel(name = "车辆照片")
    private String avatar;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setCarsendId(Long carsendId) 
    {
        this.carsendId = carsendId;
    }

    public Long getCarsendId() 
    {
        return carsendId;
    }
    public void setCarName(String carName) 
    {
        this.carName = carName;
    }

    public String getCarName() 
    {
        return carName;
    }
    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carsendId", getCarsendId())
            .append("carName", getCarName())
            .append("carType", getCarType())
            .append("phonenumber", getPhonenumber())
            .append("avatar", getAvatar())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
